package com.enjoyor.soa.traffic.api.ubms.service.dubbo;

import java.util.Map;


import com.enjoyor.soa.traffic.api.ubms.dto.DeviceOpratorInfoDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

/**
 * 维护路段信息的Dubbo服务
 * @author yuankun
 * @version V1.0
 */

public interface DubboDeviceOpratorInfoService {

	/**
	 * 获取设备操作信息
	 * @param map
	 * @return
	 */
	public ResultPojo getDeviceOpratorInfo(String deviceCode,String deviceType,String deviceStateCode,String localDeptId);
	
	
	/**
	 * 获取设备操作分页信息(Easyui)
	 * @param map
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public ResultPojo getDeviceOpratorPage(String deviceCode,String deviceType,String deviceStateCode,String localDeptId,Page page);
	
	/**
	 * 获取设备操作分页信息(BootStrap)
	 * @param map
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public ResultPojo getDeviceOpratorBootStrap(String deviceCode,String deviceType,String deviceStateCode,String localDeptId,Page page);
	
	/**
	 * 添加设备操作信息
	 * @param DeviceOpratorInfoPojo
	 * @return
	 */
	public ResultPojo insertDeviceOpratorInfo(String token,DeviceOpratorInfoDto dto);
	
	/**
	 * 删除设备操作信息
	 * @param map
	 * @return
	 */
	public int deleteDeviceOpratorInfo(Map<String,Object> map);
}
